package com.bing.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.bing.entity.LoanProducts.LoanProductinfo;

public interface LoanProdductsinfoMapper {
    int insert(@Param("loanProdductsinfo") LoanProductinfo loanProdductsinfo);

    int insertSelective(@Param("loanProdductsinfo") LoanProductinfo loanProdductsinfo);

    int insertList(@Param("loanProdductsinfos") List<LoanProductinfo> loanProdductsinfos);

    int updateByPrimaryKeySelective(@Param("loanProdductsinfo") LoanProductinfo loanProdductsinfo);

    List<LoanProductinfo>  getProuctList();

    LoanProductinfo getProductDetail(String productId);

    List<LoanProductinfo>  getProuctListBywhere(@Param("type") String type, @Param("firstPage")String firstPage);

    String getProdId();
}
